home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: newsfeed.acns.nwu.edu!ftpbox!mothost!schbbs!news
- From: george_helm <ghelm>
- Subject: Need code to remove non-adjacent duplicate lines
- Content-Type: text/plain; charset=us-ascii
- Organization: MOTOROLA
- Date: Wed, 27 Mar 1996 11:31:54 GMT
- Message-ID: <1996Mar27.113154.14694@schbbs.mot.com>
- X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.01 9000/735)
- Mime-Version: 1.0
- X-Url: news:comp.lang.c
- Content-Transfer-Encoding: 7bit
- Sender: news@schbbs.mot.com (SCHBBS News Account)
- Nntp-Posting-Host: 144.191.12.71
-
- Does anyone have C code that will remove *non-adjacent* duplicate
- lines from an ascii file ? I need to retain the original file
- format so I can't use simple stuff like sort -u or uniq in UNIX.
- Help on this is greatly appreciated.
-
- Thanks
- George Helm
- ghelm@mot1.phx.mcd.mot.com -or- qwuu93a@prodigy.com
- http://www.tripod.com/~Awkster/index.html
-
-